<?php

return CMap::mergeArray(
	require(dirname(__FILE__).'/main.php'),
	array(
	'modules'=>array(
       'gii'=>array(
           'class'=>'system.gii.GiiModule',
           'password'=>"hoopat"
       ),
   ),
	
		'components'=>array(
			'fixture'=>array(
				'class'=>'system.test.CDbFixtureManager',
			),
			/* uncomment the following to provide test database connection
			'db'=>array(
				'connectionString'=>'DSN for test database',
			),
			*/
		
		'db'=>array(
			'connectionString' => 'mysql:host=localhost;dbname=mcr_test',
			'emulatePrepare' => true,
			'username' => 'mcr_test',
			'password' => 'mcr_test',
			'charset' => 'latin1',
			'tablePrefix'=>'mcr_',
			'initSQLs'=>array("set names 'utf8';"),
		),
		'urlManager'=>array(
			'urlFormat'=>'path',
			'showScriptName'=>true,
		),
		'mailer' => array(
			'class' => 'application.extensions.mailer.EMailer',
			'fromName'=>'Melbourne Coffee Review',
			'fromEmail'=>'support@melbournecoffeereview.com',
			'replyTo'=>'support@melbournecoffeereview.com',
			'useSmtp'=>true,
			'smtpHost'=>'mail.tpg.com.au',
			'debug'=>true,
		),
		'paypal'=>array(
			'debug'=>true,
			'business'=>'platin_1185334150_biz@gmail.com',
		),
		'twitter'=>array(
			'class'=>'ext.twitter.ETwitter',
			'debug'=>true,
		),
		)
	)
);
